package com.chem.lems.serves;

import com.chem.lems.entity.Equipment;
import com.chem.lems.entity.Record;
import com.chem.lems.entity.User;
import com.chem.lems.utils.ResultUtil;
import com.chem.lems.vo.ApplyBO;
import com.chem.lems.vo.EmailBO;

public interface EquipmentServies {
    ResultUtil getEquipStatesEnum();

    ResultUtil addEquipment(Equipment equipment);

    ResultUtil gitEquipByAll(Integer page, Integer size);

    ResultUtil gitEquipByNameLike(String equipName, Integer page, Integer size);

    ResultUtil gitEquipInfoById(String equipId);

    ResultUtil editEquipInfo(Equipment equipment);

    ResultUtil deleteById(String equipId);

    ResultUtil getUserByEquipId(String equipId);

    ResultUtil applyEquip(String userId,String equipId);

    ResultUtil getRecordList(Integer page, Integer size);

    ResultUtil applyReview(ApplyBO applyBO);

    ResultUtil gitUserEquips(String userId);

    ResultUtil cancelApply(String userId, String equipId);

    ResultUtil backlEquip(String userId, String equipId);

    ResultUtil backReview(String userId, String equipId);

    ResultUtil cancelBack(String userId, String equipId);

    ResultUtil getverifyList(Integer page, Integer size);
}
